package com.cgnpc.scp.run.service;


import cn.com.cgnpc.aep.bizcenter.appcenter.sdk.result.ApiResult;
import com.cgnpc.cud.core.domain.AjaxResult;
import com.cgnpc.scp.common.bean.CreateFileInfo;
import com.cgnpc.scp.common.bean.MyPageResult;
import com.cgnpc.scp.run.mybatis.entity.MarketInfo;
import com.cgnpc.scp.run.pojo.MarketInfoVo;

import java.util.Map;

public interface MarketInfoService {

    MyPageResult<MarketInfo> queryMarketInfoPageList(MarketInfo marketInfo);

    MarketInfoVo getMarketInfoById(String id);

    /**********************************
     * 用途说明: 调试经营管理-市场机会-导出Excel
     * 参数说明: T reqEntity
     * 返回值说明: CreateFileInfo
     ***********************************/
    <T extends MarketInfo> CreateFileInfo exportExcel(T reqEntity) throws Exception;

    AjaxResult offerNumber(Map<String, Object> param);

    Object getMarketInfoByTimer() throws Exception;
}
